import os

class Config(object):
    SECRET_KEY = os.urandom(24)

    SQLALCHEMY_DATABASE_URI = "mysql://test01:123456@127.0.0.1:3306/test01"
    SQLALCHEMY_ECHO = False
    SQLALCHEMY_TRACK_MODIFICATIONS = False

class Development(Config):
    DEBUG = True

class Production(Config):
    pass

config_map = {
    "development": Development,
    "product": Production
}